package com.gubei.auth.application.convert;

import com.gubei.auth.domain.entity.AuthUserBO;
import com.gubei.auth.entity.AuthUserDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AuthUserDTOConverter {

    AuthUserDTOConverter INSTANCE = Mappers.getMapper(AuthUserDTOConverter.class);

    AuthUserDTO convertBoToDto(AuthUserBO authUserBO);

    AuthUserBO convertDtoToBo(AuthUserDTO authUserDTO);

    List<AuthUserDTO> convertBOListToDTOList(List<AuthUserBO> authUserBOList);
}
